package com.forest.eureka;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Description: 启动类
 * @ClassName: EurekaApplication
 * @Author: Forest
 * @Date: 2017/2/14 21:07
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {
    public static void main(String... args){
        new SpringApplicationBuilder(EurekaApplication.class).web(true).run();
    }
}
